package com.yangchoi.jetpackcompose

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context
import com.yangchoi.lib_base.base.BaseApplication
import com.yangchoi.lib_base.utils.DataStoreUtil
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
class MyApplication : BaseApplication() {

    override fun onCreate() {
        super.onCreate()
        mContext = this
        DataStoreUtil.init(this)
    }

    companion object{
        @JvmStatic
        var mContext:Context? = null
            @SuppressLint("StaticFieldLeak")
            get
    }

}